/*通用样式*/
* {
    margin: 0;
    padding: 0;
    list-style: none; /*设置列表项标记的类型为空*/
}

h1, h2, h3, h4, h5, h6, b, i {
    font-weight: 100;
    color: #333;
}

a {
    text-decoration: none;
    color: #333
}

/*头部导航*/
.top_nav_bg {
    width: 100%;
    height: 78px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    /*.top_advertisement位置relative,将bg遮盖
    需要设置z坐标>1,浮现出来*/
}

.top_nav_bg .top_nav {
    width: 1358px;
    height: 68px;
    margin: 0 auto; /*元素水平居中*/
}

.top_nav_bg .top_nav .logo {
    float: left;
    width: 167px;
    height: 60px;
    margin-top: 10px;
    background-image: url("../imgs/logo-public.png");
}

.top_nav_bg .top_nav .logo a {
    font-size: 0;
}

.top_nav_bg .top_nav .nav_list ul {
    padding-top: 16px;
    height: 62px;
    float: left;
    /*ul里面的li距离上边距16,用内边距*/
}

.top_nav_bg .top_nav .nav_list li {
    float: left;
    width: 150px;
    height: 78px;
    text-align: center;
}

.top_nav_bg .top_nav .nav_list li a > p {
    font-size: 18px;
    letter-spacing: 1px; /*字符间的空白*/
    color: #fff;
}

.top_nav_bg .top_nav .nav_list li a > span {
    font-size: 11px;
    letter-spacing: 1px;
    color: #aeaeae;
}

.top_nav_bg .top_nav .search, .top_nav_bg .top_nav .zhangmeng {
    display: block;
    /*a标签是行内元素,需要设置成块元素才能设置宽高*/
    width: 40px;
    height: 40px;
    margin-top: 16px;
    float: right;
}

.top_nav_bg .top_nav .search i {
    display: block;
    width: 21px;
    height: 21px;
    margin: 9.5px 0 0 9.5px;
    background: url("../imgs/topfoot-spr.png");
    background-position: -381px -39px;
}


.top_nav_bg .top_nav .zhangmeng i {
    display: block;
    width: 16px;
    height: 24px;
    margin: 8px 0 0 12px;
    background: url("../imgs/topfoot-spr.png");
    background-position: -303px -84px;
}

.top_nav_bg .top_nav .user_login {
    width: 243px;
    height: 78px;
    float: right;
}

.top_nav_bg .top_nav .user_login .user_left {
    width: 48px;
    height: 48px;
    margin-top: 15px;
    margin-left: 10px;
    position: relative;
    float: left;
}

.top_nav_bg .top_nav .user_login .user_left img {
    width: 36px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
}

.top_nav_bg .top_nav .user_login .user_left span {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    display: block;
    background: url("../imgs/topfoot-spr.png");
    background-position: 189px 238px;
}

.top_nav_bg .top_nav .user_login .user_right {
    width: 128px;
    margin-left: 20px;
    float: left;
    height: 78px;
    line-height: 78px;
}

.top_nav_bg .top_nav .user_login .user_right p {
    color: #fefefe;
}

.top_advertisement {
    position: relative;
}

.top_advertisement .word a:nth-child(1) {
    display: block;
    position: absolute;
    bottom: 32px;
    left: 50%;
    width: 160px;
    height: 40px;
    background: url("../imgs/topfoot-spr.png");
    background-position: -216px -39px;
}

.top_advertisement .word .banben {
    position: absolute;
    right: 260px;
    bottom: 32px;

}

.top_advertisement .word .banben p{
    color: #888787;
    float: left;
    margin-right: 10px;
    line-height: 24px;
    font-size: 14px;
}
.top_advertisement .word .banben a{
    color: #f5d185;
    float: left;
    display: block;
    padding: 0 15px;
    background: rgba(0,0,0,.6);
    border: 2px solid #f5d185;
    height: 22px;
    font-size: 14px;
}
/*nth-child(n)选择器匹配父元素中的第 n 个子元素*/